package oop;

public class OOPDemo01 {
    public static void main(String[] args) {
        OOPDemo01 oop01 = new OOPDemo01();
        String str = oop01.sayHello();
        System.out.println(str);
    }

    public String sayHello(){
        printHello();
        return "hello,world!";
    }

    public void printHello(){
        System.out.println("hello,world!");
    }
}
